package com.epfresh.activity;

import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.epfresh.R;
import com.epfresh.api.helper.ApplicationHelper;
import com.epfresh.global.BaseActivity;

public class AuthorizeCheckActivity extends BaseActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_check_authorize);

        findViewById(R.id.iv_contact_customer_service).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(Intent.ACTION_DIAL,Uri.parse("tel:400-0588-198")));
            }
        });
    }

    @Override
    protected View getToolBar() {
        return null;
    }

    @Override
    public void onBackPressed() {
        ApplicationHelper.getInstance().flag_498 = true;
        finish();
    }
}
